import $ajax from './config'
/* 登陆 */
export const login = data => $ajax.post('/admin/login', data)
/* 注销 */
export const sign = data => $ajax.post('/sign', data)
/* 获取数据 */
export const searchData = data => $ajax.post('/searchData', data)
/* 获取编辑数据 */
export const qa = data => $ajax.post('/subdata', data)
/* 更新或保存数据 */
export const saveQa = data => $ajax.post('/saveData', data)
/* 解绑或绑定数据 */
export const unQa = data => $ajax.post('/bindInfo', data)
/* 删除 */
export const delQa = data => $ajax.post('/delDate', data)
/* 智能提示 */
export const getInfo = data => $ajax.post('/smartInfo', data)
/* 获取标签 */
export const getTag = data => $ajax.post('/smartTags', data)
/* 获取问题 */
